<!DOCTYPE html>
<html>
<head>
    <meta charest="UTF-8">
    <style>
        html{
            height:100%;
        }
        body{
            height:100%;
            margin:0px;
        }
        .continar{
            width: 100%;
            height:100%;
            background-color:#EEEEEE;
            overflow: auto;
            display:flex;
            flex-direction: column;
            align-items: center;
        }
        .card1{
            width:80%;
            height:20%;
            background-color:#FF1;
            margin-top:20px;
            flex:0 0 auto;
        }
        .card2{
            width:80%;
            height:20%;
            background-color:#F1F;
            margin-top:20px;
            flex:0 0 auto;
        }

        </style>
        
</head>
<body>
<div class="continar">
        <div class="card1"></div>
        <div class="card1"></div>
        <div class="card2"></div>
  
    </div>
</body>





</html>
